﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.Master" AutoEventWireup="true"
    Codebehind="counterList.aspx.cs" Inherits="CMS.admin.counterList" Title="Hệ thống quản trị nội dung" %>

<%@ Register Assembly="ComponentArt.Web.UI" Namespace="ComponentArt.Web.UI" TagPrefix="ComponentArt" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="border: solid 1px #ccc;">
        <div id="toolbox">
            <div class="header" style="float: left; margin-left: -40px;">
                <img src="../images/Toolbox/icon-48-cpanel.png" alt="" id="imgHeader" />
                Thống kê truy cập wapsite
            </div>
            <div style="float: right;">
                <table class="toolbar">
                    <tr>
                        <td align="center">
                            <asp:LinkButton ID="btnClose" CausesValidation="false" runat="server" OnClick="btnClose_Click">
                                <asp:Label ID="Label4" CssClass="Icon-32-Cancel" runat="server" />
                                Đóng lại
                            </asp:LinkButton>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <p align="center">
        <br />
        <asp:Label ID="lblMessage" runat="server" BackColor="White" BorderColor="White" ForeColor="Red"></asp:Label>
    </p>
    <div id="content-box">
        <div class="t">
            <div class="t">
                <div class="t">
                </div>
            </div>
        </div>
        <div class="m" style="height: 520px;">
            <br />
            <table cellpadding="5" cellspacing="2" width="100%">
                <tr>
                    <td>
                        <ComponentArt:Grid ID="Grd1" EnableViewState="true" AllowEditing="true" EditOnClickSelectedItem="false"
                            ShowHeader="False" CssClass="Grid" KeyboardEnabled="false" FooterCssClass="GridFooter"
                            RunningMode="Callback" AutoCallBackOnDelete="true"
                            AllowHtmlContent="true" PagerStyle="Numbered" PagerTextCssClass="PagerText" PageSize="15"
                            ImagesBaseUrl="../images/" AllowPaging="true" ManualPaging="false" LoadingPanelClientTemplateId="LoadingFeedbackTemplate"
                            Width="430" LoadingPanelPosition="MiddleCenter" runat="server">
                            <Levels>
                                <ComponentArt:GridLevel RowCssClass="Row" SelectedRowCssClass="SelectedRow" AlternatingRowCssClass="AlternatingRow"
                                    DataCellCssClass="DataCell" HeadingCellCssClass="HeadingCell" HeadingTextCssClass="HeadingCellText"
                                    SortAscendingImageUrl="asc.gif" SortDescendingImageUrl="desc.gif" SortImageWidth="9"
                                    SortImageHeight="5">
                                    <Columns>
                                        <ComponentArt:GridColumn Align="Center" DataField="id"
                                            HeadingText="<img src='../images/selected.gif' border='0' />" Width="30" AllowSorting="false" />
                                        <ComponentArt:GridColumn DataField="date" Align="center" FormatString = "dd/MM/yyyy" HeadingText="Ngày" Width="100" />
                                        <ComponentArt:GridColumn DataField="counter" Align="center" HeadingText="Số lượng" Width="100" />
                                    </Columns>
                                </ComponentArt:GridLevel>
                            </Levels>
                            <ClientTemplates>
                                <ComponentArt:ClientTemplate ID="LoadingFeedbackTemplate" runat="server">
                                    <table cellspacing="0" cellpadding="0" border="0">
                                        <tr>
                                            <td style="font-size: 10px;">
                                                Đang tải...&nbsp;</td>
                                            <td>
                                                <img src="../images/spinner.gif" border="0"></td>
                                        </tr>
                                    </table>
                                </ComponentArt:ClientTemplate>
                            </ClientTemplates>
                        </ComponentArt:Grid>
                    </td>
                </tr>
            </table>
            <div class="clr">
            </div>
        </div>
        <div class="b">
            <div class="b">
                <div class="b">
                </div>
            </div>
        </div>
    </div>
</asp:Content>
